package com.group3.customer.dao;

import java.util.List;

import com.group3.entity.Dish;
import com.group3.entity.Merchant;

public interface ICustomerDao {
	//根据菜品查商家
	List<Merchant> queryByDishTypeId(String dtId);
	
	//默认所有在线商家
	Merchant queryMerchant(String mId);
	
	//根据菜品id显示菜
	List<Dish>queryDishByDishId(String dtId);
	
	//默认显示所有菜
	List<Dish> queryAllDish(String dtId);
	
	//根据merchant的id查菜
	List<Dish> queryAllDishByMid(String mid);
	
	//根据mid和dpid查dish
	List<Dish> queryDishByMidDpid(String mId,String DtId);
	
	Merchant queryMarcherByType(String mid, String tdid);

	Dish queryDish(String dId);
}
